/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package GUI.EditorMenu;

import javax.swing.*;

/**
 *
 * @author David
 */
public class MainMenu extends JMenuBar
{

    private FileMenu fileMenu = new FileMenu();
    private AddMenu addMenu = new AddMenu();
    private EditMenu editMenu = new EditMenu();
    private ViewMenu viewMenu = new ViewMenu();
    private ImportMenu importMenu = new ImportMenu();
    private PhysicsMenu physicsMenu = new PhysicsMenu();
    private ExtrasMenu extrasMenu = new ExtrasMenu();
    private HelpMenu helpsMenu = new HelpMenu();

    /**
     *
     */
    public MainMenu()
    {
        add(fileMenu);
        add(addMenu);
        add(editMenu);
        add(viewMenu);
        add(importMenu);
        add(physicsMenu);
        add(extrasMenu);
        add(helpsMenu);
    }

    /**
     *
     * @return
     */
    public ViewMenu getViewMenu()
    {
        return viewMenu;
    }

    /**
     *
     * @return
     */
    public FileMenu getFileMenu()
    {
        return fileMenu;
    }

    /**
     *
     * @return
     */
    public AddMenu getAddMenu()
    {
        return addMenu;
    }

    /**
     *
     * @return
     */
    public EditMenu getEditMenu()
    {
        return editMenu;
    }

    /**
     *
     * @return
     */
    public ImportMenu getImportMenu()
    {
        return importMenu;
    }

    /**
     *
     * @return
     */
    public PhysicsMenu getPhysicsMenu()
    {
        return physicsMenu;
    }

    /**
     *
     * @return
     */
    public ExtrasMenu getExtrasMenu()
    {
        return extrasMenu;
    }

    /**
     *
     * @return
     */
    public HelpMenu getHelpsMenu()
    {
        return helpsMenu;
    }
}